package mgorepo

import (
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/columnd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/groupd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/infod"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/interactiond"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/oplogd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/orgd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/reportd"
	"gogs.xiaoyuanjijiehao.com/antlinker/antcms/core/repo/mgorepo/reviewd"
)

// CreOption 创建域配置
func CreOption() core.Option {
	return core.Option{
		Infod:       infod.CreDomainOption(),
		Column:      columnd.CreDomainOption(),
		OpLog:       oplogd.CreDomainOption(),
		Group:       groupd.CreDomainOption(),
		Interaction: interactiond.CreDomainOption(),
		Org:         orgd.CreDomainOption(),
		Report:      reportd.CreDomainOption(),
		Review:      reviewd.CreDomainOption(),
	}
}
